package rmmk.zadanie2;

public class Linear implements ISearch {

	public int find(int number, int[] array) {
		for(int i = 0; i < array.length; ++i)
			if(number == array[i]) return i;
		return -1;
	}

}
